package com.example.activiti.mapper;

import com.example.activiti.entity.Role;
import com.example.activiti.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface RoleMapper {

    Role selectById(int id);

    void insert(Role role);

    void update(Role role);

    void delete(@Param("id") int id);
}
